@font-face {
    font-family: 'Light';
    src: url("../fonts/Comfortaa-Light.ttf")
}

button {
    background-color: white;
    /* Green */
    border: gray;
    border-style: solid;
    border-width: 2px;
    color: black;
    padding: 5px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 20px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 12px;
    font-family: 'Light';
}

button span {
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: 0.5s;
}

button span a {
    color: black;
    text-decoration: none;
}

h1 {
    font-size: 35px;
    font-family: 'Light';
}

.title {
    font-size: 35px;
    font-family: 'Light';
}

.title2 {
    font-size: 30px;
}

button span:after {
    content: '»';
    position: absolute;
    opacity: 0;
    top: 0;
    right: -20px;
    transition: 0.5s;
}

button:hover span {
    padding-right: 25px;
}

button:hover span:after {
    opacity: 1;
    right: 0;
}

@media screen and (min-width:1000px) {
    button {
        font-size: 25px;
    }
    h1 {
        font-size: 45px;
        font-family: 'Light';
    }
    .title {
        font-size: 45px;
        font-family: 'Light';
    }
    .title2 {
        font-size: 35px;
    }
}

@media screen and (max-width:640px) {
    .button1 {
        display: none;
    }
}

@media screen and (min-width:641px) {
    .button2 {
        display: none;
    }
}

/* 弹窗 (background) */

.modal {
    display: none;
    /* 默认隐藏 */
    position: fixed;
    /* 固定定位 */
    z-index: 1;
    /* 设置在顶层 */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

/* 弹窗内容 */

.modal-content {
    background-color: #000000;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

/* 关闭按钮 */

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
